﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// StatisticVO 的摘要描述
/// </summary>
namespace sexhealth.console.service.activity.vo
{
    [Serializable]
    public class StatisticVO
    {
        public StatisticVO()
        {
        }

        public virtual DateTime? Date { get; set; }

        public virtual String Title { get; set; }

        public virtual int CountOption1_1 { get; set; }

        public virtual int CountOption1_2 { get; set; }

        public virtual int CountOption1_3 { get; set; }

        public virtual string GetStr_Title
        {
            get
            {
                string result = string.Empty;

                if (!string.IsNullOrEmpty(Title))
                {
                    result = Title;
                }
                else
                {
                    result = Date.Value.ToString("yyyy/MM/dd");
                }

                return result;
            }
        }
    }
}